Could not locate a Flask application. You did not provide the FLASK_APP environment variable

46

set FLASK_APP=hello.py
$env:FLASK_APP = "hello.py"
flask run
#Where "[your_flask_app]" = name of your python file
export FLASK_APP=[your_flask_app].py
$env:FLASK_APP="base.py"

Comments

Submit
0 Comments